from django.urls import re_path, path
from rest_framework_jwt.views import obtain_jwt_token
from . import views

urlpatterns = [
    # 发送短信
    path('sms_codes/<mobile:mobile>/', views.SmsView.as_view()),
    # 注册
    path('users/', views.CreateUserView.as_view()),

    # 登录
    path('authorizations/', obtain_jwt_token),
]


